from django.db import models

# Create your models here.


class GoodsModel(models.Model):
    name = models.CharField(max_length=32)
    price = models.DecimalField(max_digits=3,decimal_places=2)
    count = models.IntegerField()
    def __str__(self):
        return self.name
    class Meta():
        db_table = 'goods'
